package com.ls.thread.ch04.test;

import com.ls.thread.ch03.demo01.TicketRunnable;

public class TicketTestThread {

public static void main(String[] args) {
		
		TicketRunnable t=new TicketRunnable();
		TicketRunnable t1=new TicketRunnable();
		TicketRunnable t2=new TicketRunnable();
		
		t.setName("窗口1");
		t1.setName("窗口2");
		t2.setName("窗口3");
		
		t.start();
		t1.start();
		t2.start();
		
	}
}
